package cn.stylefeng.guns.sys.core.properties;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "xcx")
@Data
public class WxXcxConfig {
    /**
     * appid
     */
    @Value("${xcx.app_id}")
    private String appid;

    /**
     * appsecret
     */
    @Value("${xcx.app_secret}")
    private String secret;
}
